let mock=require('mockjs')
let data=mock.mock({
    "list|6":[{
        "img":"@image(100x100,@color)",
        "title":"@ctitle",
        "id":"@id"
    }]
})
module.exports = {
    devServer: {
        open: true,
        before(app){
            app.get('/list', (req, res) => {
                res.send(data.list)
            })
        }
    },
}